﻿using crm_utility.Pager;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;

namespace crm_web
{
    public static class PagerHtmlExtension
    {
        /// <summary>
        /// 店铺后台分页
        /// </summary>
        /// <param name="helper">HtmlHelper</param>
        /// <param name="pageModel">分页对象</param>
        /// <returns></returns>
        public static AdminPager AdminPager(this IHtmlHelper helper, PageModel pageModel)
        {
            return new AdminPager(pageModel);
        }
    }
}
